<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:fragment="commonheader">
    <meta charset="UTF-8">
    <title>common</title>

    <link href="css/style.css" rel="stylesheet" th:href="@{/css/style.css}">
    <link href="css/style-responsive.css" rel="stylesheet" th:href="@{/css/style-responsive.css}">
    <link rel="stylesheet" href="js/data-tables/DT_bootstrap.css" th:href="@{/js/data-tables/DT_bootstrap.css}"/>
    <script src="js/html5shiv.js" th:src="@{js/html5shiv.js}"></script>
    <script src="js/respond.min.js" th:src="@{js/respond.min.js}"></script>

</head>
<body>
<!-- left side start-->
<div id="leftmenu" class="left-side sticky-left-side">

    <!--logo and iconic logo start-->
    <div class="logo">
        <a th:href="@{/}"><img src="images/logo.png" alt=""></a>
    </div>

    <div class="logo-icon text-center">
        <a th:href="@{/}"><img src="images/logo_icon.png" alt=""></a>
    </div>
    <!--logo and iconic logo end-->

    <div class="left-side-inner">
        <!--sidebar nav start-->
        <ul class="nav nav-pills nav-stacked custom-nav">
            <li><a th:href="@{/}"><i class="fa fa-home"></i> <span>首页</span></a>
            </li>

            <li class="menu-list"><a href=""><i class="glyphicon glyphicon-tag" aria-hidden="true"></i>
                <span>系统用户</span></a>
                <ul class="sub-menu-list">
                    <li><a th:href="@{/sys_admin}">管理员信息</a></li>
                </ul>
            </li>

            <li class="menu-list"><a href=""><i class="glyphicon glyphicon-tag" aria-hidden="true"></i>
                <span>院系管理</span></a>
                <ul class="sub-menu-list">
                    <li><a th:href="@{/department_table}">院系信息</a></li>
                </ul>
            </li>

            <li class="menu-list"><a href=""><i class="glyphicon glyphicon-tag" aria-hidden="true"></i>
                <span>专业管理</span></a>
                <ul class="sub-menu-list">
                    <li><a th:href="@{/major_table}">专业信息</a></li>
                </ul>
            </li>

            <li class="menu-list"><a href=""><i class="fa fa-book"></i> <span>班级管理</span></a>
                <ul class="sub-menu-list">
                    <li><a th:href="@{/class_table}">班级信息</a></li>
                </ul>
            </li>
            <li class="menu-list"><a href=""><i class="glyphicon glyphicon-tag" aria-hidden="true"></i>
                <span>学生管理</span></a>
                <ul class="sub-menu-list">
                    <li><a th:href="@{/student_table}">学生列表</a></li>
                </ul>
            </li>

            <li class="menu-list"><a href=""><i class="glyphicon glyphicon-tag" aria-hidden="true"></i>
                <span>教师管理</span></a>
                <ul class="sub-menu-list">
                    <li><a th:href="@{/teacher_table}">教师列表</a></li>
                </ul>
            </li>

            <li class="menu-list"><a href=""><i class="fa fa-envelope"></i> <span>课程管理</span></a>
                <ul class="sub-menu-list">
                    <li><a th:href="@{/course_table}">课程信息</a></li>
                    <li><a th:href="@{/course_arrange_table}">课程安排</a></li>
                </ul>
            </li>

            <li class="menu-list "><a href=""><i class="fa fa-tasks"></i> <span>成绩管理</span></a>
                <ul class="sub-menu-list">
                    <li class="active"><a th:href="@{/student_score_table}">学生成绩</a></li>
                </ul>
            </li>

            <li class="menu-list "><a href=""><i class="fa fa-tasks"></i> <span>留言管理</span></a>
                <ul class="sub-menu-list">
                    <li class="active"><a th:href="@{/sys_msg}">系统留言</a></li>
                </ul>
            </li>

            <li class="menu-list"><a href=""><i class="fa fa-file-text"></i> <span>系统公告</span></a>
                <ul class="sub-menu-list">
                    <li><a th:href="@{/sys_notice}">公告信息</a></li>
                </ul>
            </li>
        </ul>
        <!--sidebar nav end-->
    </div>
</div>
<!-- 左侧结束-->

<!-- 头部分开始-->
<div th:fragment="headermenu" class="header-section">

    <!--开关按钮开始-->
    <a class="toggle-btn">
        <i class="fa fa-bars"></i>
    </a>
    <!--开关按钮结束-->

    <!--通知菜单开始 -->

    <div class="menu-right">
        <ul class="notification-menu">
            <li>
                <a href="#" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
                    <img src="images/login-logo.png" alt=""/>
                    [[${session.user.username}]]
                    <span class="caret"></span>
                </a>
                <ul class="dropdown-menu dropdown-menu-usermenu pull-right">
<!--                    <li>-->
<!--                        <a href="#">-->
<!--                            <i class="fa fa-user"></i>-->
<!--                            用户信息-->
<!--                        </a>-->
<!--                    </li>-->
                    <li>
                        <a th:href="@{/loginOut}">
                            <i class="fa fa-sign-out">
                                登出
                            </i>
                        </a>
                    </li>
                </ul>
            </li>
        </ul>
    </div>
</div>
<!--通知菜单结束 -->
<!-- 头部分结束-->

<!--footer  start-->
<div th:fragment="footer">2022 &copy; StudentMange by BugChao's Team</div>
<!--footer  end-->

<div id="commonscript">
    <!--common scripts for all pages-->
    <script src="js/scripts.js" th:src="@{js/scripts.js}"></script>
    <script src="js/jquery-1.10.2.min.js" th:src="@{js/jquery-1.10.2.min.js}"></script>
    <script src="js/jquery-ui-1.9.2.custom.min.js" th:src="@{js/jquery-ui-1.9.2.custom.min.js}"></script>
    <script src="js/jquery-migrate-1.2.1.min.js" th:src="@{js/jquery-migrate-1.2.1.min.js}"></script>
    <script src="js/bootstrap.min.js" th:src="@{js/bootstrap.min.js}"></script>
    <script src="js/modernizr.min.js" th:src="@{js/modernizr.min.js}"></script>
    <script src="js/jquery.nicescroll.js" th:src="@{js/jquery.nicescroll.js}"></script>
    <script src="js/scripts.js" th:src="@{js/scripts.js}"></script>
</div>

</body>
</html>